Hole
Step 0
   Live code presentation in textarea (below):
POLYLINE
X
strokeColor
strokeOpacity
strokeWeight
Style id
Click here to save style changes
Click here to save as new style
Style 1
POLYGON/RECTANGLE
X
strokeColor
strokeOpacity
strokeWeight
fillColor
fillOpacity
Style id
Click here to save style changes
Click here to save as new style
Style 1
CIRCLE
X
strokeColor
strokeOpacity
strokeWeight
fillColor
fillOpacity
Style id
Click here to save style changes
Click here to save as new style
Style 1
MARKER
X

<Style id =
  <Icon><href>
Use default icon, or choose icon from the chart

Click here to save style changes Click here to save as new style
Style 1
X
<Document>
  <name>
  <description>

<Placemark>
  <name>
  <description>
  <styleURL> current style
  <tessellate></tessellate> <altitudemode>

You may create or change styles with the "Style Options" button.
You may press it now or anytime.

<Document>
  <name>
  <description>

<Placemark> for line
  <name>
  <description>
  <styleURL> current style
  <tessellate></tessellate> <altitudemode>

<Placemark> for marker
  <name>
  <description>
  <styleURL> current style
You may create or change styles with the "Style Options" button.
You may press it now or anytime in Directions mode.

This is a drawing tool for polyline, polygon, polygon with holes, rectangle, circle, marker(icon), direction(route, path). This application uses the Google Maps API Version 3 (V3). It has all the features of Google Maps MyMaps and has direct access to the code for the shapes (overlays) you create. It should be a full-fledged alternative. You draw and create a map with the shapes you want. KML or Javascript code is presented in the textarea. You copy KML code and paste it into a text editor. Then you have a KML file you may upload to your website. This application should now also serve as a mature alternative to my online V2 tool Digitizer tool

Code will be presented in the textarea. You may choose to see KML or Google Javascript V3.

The OpenStreetMap map type has been added to the Google Maps map types. It has been embedded as a layer within the Google Map. This will in many parts of the world give you map tiles with more details than the default Google Maps tiles.

The feature 'polygon with hole' ('donut') is built-in in V3. Choose Polygon draw mode and follow the instructions. All overlays have style options. There are some custom markers (icons) available for Marker and Direction.

And for editing - if you have a kml file uploaded on a server, and you want to edit its coordinates, you may use my edit tool Edit tool for Google maps polyline and polygon
You will need a PC or laptop with a large amount of computer memory if your kml file has 1000 coordinate pairs or more.

If a coastline is part of the shape you want to create, you may use templates and build on them
Build Google maps polylines and polygons from templates

Load your kml file with the php function simplexml_load_file(kmlfile) if you want to handle individual shapes in your kml file Dynamic Google Maps API V3

If you are new to Google Maps, it may be useful to read the tutorial Google Maps Javascript API V3 Tutorial and learn how to display the overlays you can create here on a map.

If you need to learn how to use KML, this is where you start KML